package com.sky.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

@Mapper
public interface ReportMapper {
    /**
     * 每天营业额查询
     * @param map
     * @return
     */

    Double selectCountByMap(Map map);

    List<Map<String, Object>> getTopTen(LocalDateTime beginTime, LocalDateTime endTime);
}
